package cn.qh.seasonal.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.qh.seasonal.mapper.ShiftMapper;
import cn.qh.seasonal.entity.Shift;
import cn.qh.seasonal.service.ShiftService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * (Shift)表服务实现类
 *
 * @author makejava
 * @since 2021-11-04 09:01:04
 */
@Service("shiftService")
public class ShiftServiceImpl extends ServiceImpl<ShiftMapper, Shift> implements ShiftService {
    @Resource
    private ShiftMapper shiftMapper;

    @Override
    public List<Shift> selectAllShift(int shiftGcId, int seasonalId) {
        List<Shift> shifts = shiftMapper.selectAllShift(shiftGcId, seasonalId);
        return shifts;
    }
}

